projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
583b46c
)
GtkMenuShell: (model binding) show() new items
author
Ryan Lortie
<desrt@desrt.ca>
Wed, 14 May 2014 19:49:30 +0000
(15:49 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Wed, 14 May 2014 19:49:30 +0000
(15:49 -0400)
We weren't calling show() on newly-added items -- make sure we do that.
This makes the Time menu in bloatpad work properly again.
gtk/gtkmenushell.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenushell.c
b/gtk/gtkmenushell.c
index 062806b61900ee186261b18b28278da53d828d66..a98e1bc8a46d4364274154041ff6fed8ea351bfc 100644
(file)
--- a/
gtk/gtkmenushell.c
+++ b/
gtk/gtkmenushell.c
@@
-2112,6
+2112,7
@@
gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
g_object_bind_property (item, "accel", widget, "accel", G_BINDING_SYNC_CREATE);
g_signal_connect (widget, "activate", G_CALLBACK (gtk_menu_shell_item_activate), item);
+ gtk_widget_show (widget);
}
/* TODO: drop this when we have bindings that ref the source */